package com.fanrui.code.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PlayerLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public PlayerLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andOperationTypeIsNull() {
            addCriterion("operation_type is null");
            return (Criteria) this;
        }

        public Criteria andOperationTypeIsNotNull() {
            addCriterion("operation_type is not null");
            return (Criteria) this;
        }

        public Criteria andOperationTypeEqualTo(Integer value) {
            addCriterion("operation_type =", value, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeNotEqualTo(Integer value) {
            addCriterion("operation_type <>", value, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeGreaterThan(Integer value) {
            addCriterion("operation_type >", value, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("operation_type >=", value, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeLessThan(Integer value) {
            addCriterion("operation_type <", value, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeLessThanOrEqualTo(Integer value) {
            addCriterion("operation_type <=", value, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeIn(List<Integer> values) {
            addCriterion("operation_type in", values, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeNotIn(List<Integer> values) {
            addCriterion("operation_type not in", values, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeBetween(Integer value1, Integer value2) {
            addCriterion("operation_type between", value1, value2, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("operation_type not between", value1, value2, "operationType");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1IsNull() {
            addCriterion("operation_int_value1 is null");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1IsNotNull() {
            addCriterion("operation_int_value1 is not null");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1EqualTo(Integer value) {
            addCriterion("operation_int_value1 =", value, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1NotEqualTo(Integer value) {
            addCriterion("operation_int_value1 <>", value, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1GreaterThan(Integer value) {
            addCriterion("operation_int_value1 >", value, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1GreaterThanOrEqualTo(Integer value) {
            addCriterion("operation_int_value1 >=", value, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1LessThan(Integer value) {
            addCriterion("operation_int_value1 <", value, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1LessThanOrEqualTo(Integer value) {
            addCriterion("operation_int_value1 <=", value, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1In(List<Integer> values) {
            addCriterion("operation_int_value1 in", values, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1NotIn(List<Integer> values) {
            addCriterion("operation_int_value1 not in", values, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1Between(Integer value1, Integer value2) {
            addCriterion("operation_int_value1 between", value1, value2, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue1NotBetween(Integer value1, Integer value2) {
            addCriterion("operation_int_value1 not between", value1, value2, "operationIntValue1");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2IsNull() {
            addCriterion("operation_int_value2 is null");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2IsNotNull() {
            addCriterion("operation_int_value2 is not null");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2EqualTo(Integer value) {
            addCriterion("operation_int_value2 =", value, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2NotEqualTo(Integer value) {
            addCriterion("operation_int_value2 <>", value, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2GreaterThan(Integer value) {
            addCriterion("operation_int_value2 >", value, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2GreaterThanOrEqualTo(Integer value) {
            addCriterion("operation_int_value2 >=", value, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2LessThan(Integer value) {
            addCriterion("operation_int_value2 <", value, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2LessThanOrEqualTo(Integer value) {
            addCriterion("operation_int_value2 <=", value, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2In(List<Integer> values) {
            addCriterion("operation_int_value2 in", values, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2NotIn(List<Integer> values) {
            addCriterion("operation_int_value2 not in", values, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2Between(Integer value1, Integer value2) {
            addCriterion("operation_int_value2 between", value1, value2, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue2NotBetween(Integer value1, Integer value2) {
            addCriterion("operation_int_value2 not between", value1, value2, "operationIntValue2");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3IsNull() {
            addCriterion("operation_int_value3 is null");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3IsNotNull() {
            addCriterion("operation_int_value3 is not null");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3EqualTo(Integer value) {
            addCriterion("operation_int_value3 =", value, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3NotEqualTo(Integer value) {
            addCriterion("operation_int_value3 <>", value, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3GreaterThan(Integer value) {
            addCriterion("operation_int_value3 >", value, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3GreaterThanOrEqualTo(Integer value) {
            addCriterion("operation_int_value3 >=", value, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3LessThan(Integer value) {
            addCriterion("operation_int_value3 <", value, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3LessThanOrEqualTo(Integer value) {
            addCriterion("operation_int_value3 <=", value, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3In(List<Integer> values) {
            addCriterion("operation_int_value3 in", values, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3NotIn(List<Integer> values) {
            addCriterion("operation_int_value3 not in", values, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3Between(Integer value1, Integer value2) {
            addCriterion("operation_int_value3 between", value1, value2, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationIntValue3NotBetween(Integer value1, Integer value2) {
            addCriterion("operation_int_value3 not between", value1, value2, "operationIntValue3");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1IsNull() {
            addCriterion("operation_long_value1 is null");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1IsNotNull() {
            addCriterion("operation_long_value1 is not null");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1EqualTo(Long value) {
            addCriterion("operation_long_value1 =", value, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1NotEqualTo(Long value) {
            addCriterion("operation_long_value1 <>", value, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1GreaterThan(Long value) {
            addCriterion("operation_long_value1 >", value, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1GreaterThanOrEqualTo(Long value) {
            addCriterion("operation_long_value1 >=", value, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1LessThan(Long value) {
            addCriterion("operation_long_value1 <", value, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1LessThanOrEqualTo(Long value) {
            addCriterion("operation_long_value1 <=", value, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1In(List<Long> values) {
            addCriterion("operation_long_value1 in", values, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1NotIn(List<Long> values) {
            addCriterion("operation_long_value1 not in", values, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1Between(Long value1, Long value2) {
            addCriterion("operation_long_value1 between", value1, value2, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue1NotBetween(Long value1, Long value2) {
            addCriterion("operation_long_value1 not between", value1, value2, "operationLongValue1");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2IsNull() {
            addCriterion("operation_long_value2 is null");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2IsNotNull() {
            addCriterion("operation_long_value2 is not null");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2EqualTo(Long value) {
            addCriterion("operation_long_value2 =", value, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2NotEqualTo(Long value) {
            addCriterion("operation_long_value2 <>", value, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2GreaterThan(Long value) {
            addCriterion("operation_long_value2 >", value, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2GreaterThanOrEqualTo(Long value) {
            addCriterion("operation_long_value2 >=", value, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2LessThan(Long value) {
            addCriterion("operation_long_value2 <", value, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2LessThanOrEqualTo(Long value) {
            addCriterion("operation_long_value2 <=", value, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2In(List<Long> values) {
            addCriterion("operation_long_value2 in", values, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2NotIn(List<Long> values) {
            addCriterion("operation_long_value2 not in", values, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2Between(Long value1, Long value2) {
            addCriterion("operation_long_value2 between", value1, value2, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationLongValue2NotBetween(Long value1, Long value2) {
            addCriterion("operation_long_value2 not between", value1, value2, "operationLongValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1IsNull() {
            addCriterion("operation_str_value1 is null");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1IsNotNull() {
            addCriterion("operation_str_value1 is not null");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1EqualTo(String value) {
            addCriterion("operation_str_value1 =", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1NotEqualTo(String value) {
            addCriterion("operation_str_value1 <>", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1GreaterThan(String value) {
            addCriterion("operation_str_value1 >", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1GreaterThanOrEqualTo(String value) {
            addCriterion("operation_str_value1 >=", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1LessThan(String value) {
            addCriterion("operation_str_value1 <", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1LessThanOrEqualTo(String value) {
            addCriterion("operation_str_value1 <=", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1Like(String value) {
            addCriterion("operation_str_value1 like", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1NotLike(String value) {
            addCriterion("operation_str_value1 not like", value, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1In(List<String> values) {
            addCriterion("operation_str_value1 in", values, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1NotIn(List<String> values) {
            addCriterion("operation_str_value1 not in", values, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1Between(String value1, String value2) {
            addCriterion("operation_str_value1 between", value1, value2, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue1NotBetween(String value1, String value2) {
            addCriterion("operation_str_value1 not between", value1, value2, "operationStrValue1");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2IsNull() {
            addCriterion("operation_str_value2 is null");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2IsNotNull() {
            addCriterion("operation_str_value2 is not null");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2EqualTo(String value) {
            addCriterion("operation_str_value2 =", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2NotEqualTo(String value) {
            addCriterion("operation_str_value2 <>", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2GreaterThan(String value) {
            addCriterion("operation_str_value2 >", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2GreaterThanOrEqualTo(String value) {
            addCriterion("operation_str_value2 >=", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2LessThan(String value) {
            addCriterion("operation_str_value2 <", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2LessThanOrEqualTo(String value) {
            addCriterion("operation_str_value2 <=", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2Like(String value) {
            addCriterion("operation_str_value2 like", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2NotLike(String value) {
            addCriterion("operation_str_value2 not like", value, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2In(List<String> values) {
            addCriterion("operation_str_value2 in", values, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2NotIn(List<String> values) {
            addCriterion("operation_str_value2 not in", values, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2Between(String value1, String value2) {
            addCriterion("operation_str_value2 between", value1, value2, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationStrValue2NotBetween(String value1, String value2) {
            addCriterion("operation_str_value2 not between", value1, value2, "operationStrValue2");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldIsNull() {
            addCriterion("operation_before_gold is null");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldIsNotNull() {
            addCriterion("operation_before_gold is not null");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldEqualTo(Long value) {
            addCriterion("operation_before_gold =", value, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldNotEqualTo(Long value) {
            addCriterion("operation_before_gold <>", value, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldGreaterThan(Long value) {
            addCriterion("operation_before_gold >", value, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldGreaterThanOrEqualTo(Long value) {
            addCriterion("operation_before_gold >=", value, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldLessThan(Long value) {
            addCriterion("operation_before_gold <", value, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldLessThanOrEqualTo(Long value) {
            addCriterion("operation_before_gold <=", value, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldIn(List<Long> values) {
            addCriterion("operation_before_gold in", values, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldNotIn(List<Long> values) {
            addCriterion("operation_before_gold not in", values, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldBetween(Long value1, Long value2) {
            addCriterion("operation_before_gold between", value1, value2, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeGoldNotBetween(Long value1, Long value2) {
            addCriterion("operation_before_gold not between", value1, value2, "operationBeforeGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldIsNull() {
            addCriterion("operation_after_gold is null");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldIsNotNull() {
            addCriterion("operation_after_gold is not null");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldEqualTo(Long value) {
            addCriterion("operation_after_gold =", value, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldNotEqualTo(Long value) {
            addCriterion("operation_after_gold <>", value, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldGreaterThan(Long value) {
            addCriterion("operation_after_gold >", value, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldGreaterThanOrEqualTo(Long value) {
            addCriterion("operation_after_gold >=", value, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldLessThan(Long value) {
            addCriterion("operation_after_gold <", value, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldLessThanOrEqualTo(Long value) {
            addCriterion("operation_after_gold <=", value, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldIn(List<Long> values) {
            addCriterion("operation_after_gold in", values, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldNotIn(List<Long> values) {
            addCriterion("operation_after_gold not in", values, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldBetween(Long value1, Long value2) {
            addCriterion("operation_after_gold between", value1, value2, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationAfterGoldNotBetween(Long value1, Long value2) {
            addCriterion("operation_after_gold not between", value1, value2, "operationAfterGold");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyIsNull() {
            addCriterion("operation_before_money is null");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyIsNotNull() {
            addCriterion("operation_before_money is not null");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyEqualTo(Long value) {
            addCriterion("operation_before_money =", value, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyNotEqualTo(Long value) {
            addCriterion("operation_before_money <>", value, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyGreaterThan(Long value) {
            addCriterion("operation_before_money >", value, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("operation_before_money >=", value, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyLessThan(Long value) {
            addCriterion("operation_before_money <", value, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyLessThanOrEqualTo(Long value) {
            addCriterion("operation_before_money <=", value, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyIn(List<Long> values) {
            addCriterion("operation_before_money in", values, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyNotIn(List<Long> values) {
            addCriterion("operation_before_money not in", values, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyBetween(Long value1, Long value2) {
            addCriterion("operation_before_money between", value1, value2, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeMoneyNotBetween(Long value1, Long value2) {
            addCriterion("operation_before_money not between", value1, value2, "operationBeforeMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyIsNull() {
            addCriterion("operation_after_money is null");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyIsNotNull() {
            addCriterion("operation_after_money is not null");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyEqualTo(Long value) {
            addCriterion("operation_after_money =", value, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyNotEqualTo(Long value) {
            addCriterion("operation_after_money <>", value, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyGreaterThan(Long value) {
            addCriterion("operation_after_money >", value, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("operation_after_money >=", value, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyLessThan(Long value) {
            addCriterion("operation_after_money <", value, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyLessThanOrEqualTo(Long value) {
            addCriterion("operation_after_money <=", value, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyIn(List<Long> values) {
            addCriterion("operation_after_money in", values, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyNotIn(List<Long> values) {
            addCriterion("operation_after_money not in", values, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyBetween(Long value1, Long value2) {
            addCriterion("operation_after_money between", value1, value2, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationAfterMoneyNotBetween(Long value1, Long value2) {
            addCriterion("operation_after_money not between", value1, value2, "operationAfterMoney");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemIsNull() {
            addCriterion("operation_before_item is null");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemIsNotNull() {
            addCriterion("operation_before_item is not null");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemEqualTo(String value) {
            addCriterion("operation_before_item =", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemNotEqualTo(String value) {
            addCriterion("operation_before_item <>", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemGreaterThan(String value) {
            addCriterion("operation_before_item >", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemGreaterThanOrEqualTo(String value) {
            addCriterion("operation_before_item >=", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemLessThan(String value) {
            addCriterion("operation_before_item <", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemLessThanOrEqualTo(String value) {
            addCriterion("operation_before_item <=", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemLike(String value) {
            addCriterion("operation_before_item like", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemNotLike(String value) {
            addCriterion("operation_before_item not like", value, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemIn(List<String> values) {
            addCriterion("operation_before_item in", values, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemNotIn(List<String> values) {
            addCriterion("operation_before_item not in", values, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemBetween(String value1, String value2) {
            addCriterion("operation_before_item between", value1, value2, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationBeforeItemNotBetween(String value1, String value2) {
            addCriterion("operation_before_item not between", value1, value2, "operationBeforeItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemIsNull() {
            addCriterion("operation_after_item is null");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemIsNotNull() {
            addCriterion("operation_after_item is not null");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemEqualTo(String value) {
            addCriterion("operation_after_item =", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemNotEqualTo(String value) {
            addCriterion("operation_after_item <>", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemGreaterThan(String value) {
            addCriterion("operation_after_item >", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemGreaterThanOrEqualTo(String value) {
            addCriterion("operation_after_item >=", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemLessThan(String value) {
            addCriterion("operation_after_item <", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemLessThanOrEqualTo(String value) {
            addCriterion("operation_after_item <=", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemLike(String value) {
            addCriterion("operation_after_item like", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemNotLike(String value) {
            addCriterion("operation_after_item not like", value, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemIn(List<String> values) {
            addCriterion("operation_after_item in", values, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemNotIn(List<String> values) {
            addCriterion("operation_after_item not in", values, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemBetween(String value1, String value2) {
            addCriterion("operation_after_item between", value1, value2, "operationAfterItem");
            return (Criteria) this;
        }

        public Criteria andOperationAfterItemNotBetween(String value1, String value2) {
            addCriterion("operation_after_item not between", value1, value2, "operationAfterItem");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}